package com.ogilvy.cms.service;

import java.util.List;
import java.util.Map;

import com.ogilvy.cms.bean.CmsComponent;
import com.ogilvy.frame.service.BaseService;

public interface CmsComponentService extends BaseService{
  public List<CmsComponent> query(CmsComponent Component);
  
  public List<CmsComponent> queryByScreen(Map<String,String> screenMap);
  
  public CmsComponent add(CmsComponent Component);
  
  public boolean del(int id);
  
  public boolean modify(CmsComponent Component);
  
  public List<CmsComponent> findById(CmsComponent Component);
  
  public List<CmsComponent> findAll(CmsComponent Component);
  
  public boolean checkComponentNo(String cmcComponentNo);
}
